package com.foreknow.elmboot.mapper;

import com.foreknow.elmboot.po.OrderDetailet;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderDetailetMapper {
    /**
     *新建订单明细
     * @return
     */
    public int saveOrderDetailetBatch(List<OrderDetailet> list)throws Exception;

    /**
     *根据orderId查询订单明细
     * @param orderId
     * @return
     */
    public List<OrderDetailet> listOrderDetailetByOrderId(Integer orderId)throws Exception;
}
